//
//  DownLoaderViewController.m
//  BaseTools
//
//  Created by 李挺哲 on 15/8/28.
//  Copyright (c) 2015年 ltz. All rights reserved.
//

#import "DownLoaderViewController.h"
#import "TableViewCell.h"
@interface DownLoaderViewController ()

@end

@implementation DownLoaderViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self initNavigationTitle:@"断点续传" barTintColor:0x1E86CB titleColor:0xFFFFFF isTranslucent:NO isHidden:NO];
    [self showNavigationLeftButtonTitle:@"返回" tintColor:0xFFFFFF];
//_tableView.delaysContentTouches = NO;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{

    return 10;
}
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    
    TableViewCell *cell=[TableViewCell downloadTableViewCellWithTableView:tableView];
    cell.downLoadButton.tag=indexPath.row;
    return cell;

}

-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{

    return 65;
}
@end
